package com.gaff.emp.core.modules.perm.controller.dept.form;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class UpdateForm {

    @NotNull(message = "部门ID不能为空")
    private Integer id;

    @NotBlank(message = "部门名称不能为空")
    private String name;

    private Integer parentId;

    private Integer sort;

}
